package com.demo.rigistry.servlet;

import org.springframework.context.annotation.Configuration;

@Configuration
public class ServletConfig {
	
	// 注册servlet,开放http接口
	// @Bean
	// public ServletRegistrationBean indexServletRegistration() {
	// ServletRegistrationBean registration = new ServletRegistrationBean(new
	// HttpServletTest());
	// registration.addUrlMappings("/httpservlet/post");
	// return registration;
	// }
}
